﻿window.key=false

	
	
			document.getElementById("ddgj").addEventListener("click",(ent)=>{
				if(!window.key){
					window.key=true
	
					document.getElementById("ddgj").className="switch checked"
				
					
					chrome.storage.local.set({"isopen":window.key}, function() {
	
					});
						
					
					
				}
				else{
					document.getElementById("ddgj").className="switch unchecked"
					window.key=false
				
				chrome.storage.local.set({"isopen":window.key}, function() {
	
			});
				
					
				}
			
				})
	
		
			
	